Repository navigation
refactor(client): notes 메모 흐름 분리 - #69
Merged
tartelettie merged 18 commits intoSep 3, 2026
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
tartelettie
force-pushed
the
refactor/notes-edit-flow
branch
from
August 28, 2026 12:48
91a21fa to
eb0e044
Compare
tartelettie
force-pushed
the
refactor/notes-edit-flow
branch
from
August 29, 2026 00:54
eb0e044 to
9967771
Compare
tartelettie
force-pushed
the
refactor/todo-routine-flow
branch
from
August 29, 2026 01:04
42afeaa to
f8be6e3
Compare
tartelettie
force-pushed
the
refactor/notes-edit-flow
branch
from
August 29, 2026 01:05
9967771 to
fddfa48
Compare
tartelettie
force-pushed
the
refactor/notes-edit-flow
branch
from
August 29, 2026 01:21
fddfa48 to
79f8294
Compare
tartelettie
force-pushed
the
refactor/notes-edit-flow
branch
from
August 29, 2026 02:30
79f8294 to
75eea3b
Compare
tartelettie
force-pushed
the
refactor/todo-routine-flow
branch
from
August 29, 2026 02:35
e0d1b2e to
da1dd8b
Compare
tartelettie
force-pushed
the
refactor/notes-edit-flow
branch
from
August 29, 2026 02:35
75eea3b to
cab7886
Compare
tartelettie
force-pushed
the
refactor/notes-edit-flow
branch
from
August 29, 2026 02:46
cab7886 to
7b05733
Compare
tartelettie
force-pushed
the
refactor/todo-routine-flow
branch
from
August 29, 2026 02:53
1991681 to
c5960cd
Compare
tartelettie
force-pushed
the
refactor/notes-edit-flow
branch
from
August 29, 2026 02:54
7b05733 to
5d2ae52
Compare
tartelettie
force-pushed
the
refactor/todo-routine-flow
branch
from
August 29, 2026 03:09
c5960cd to
8b5beed
Compare
tartelettie
force-pushed
the
refactor/notes-edit-flow
branch
from
August 29, 2026 03:12
5d2ae52 to
0d94102
Compare
tartelettie
force-pushed
the
refactor/todo-routine-flow
branch
from
August 29, 2026 03:22
8b5beed to
7660462
Compare
tartelettie
force-pushed
the
refactor/notes-edit-flow
branch
from
August 29, 2026 03:23
0d94102 to
6b8693c
Compare
tartelettie
force-pushed
the
refactor/todo-routine-flow
branch
from
August 29, 2026 03:27
7660462 to
3256ade
Compare
tartelettie
force-pushed
the
refactor/notes-edit-flow
branch
from
August 29, 2026 03:28
6b8693c to
d8de055
Compare
tartelettie
force-pushed
the
refactor/notes-edit-flow
branch
from
August 29, 2026 10:04
4adac9a to
d0ec97c
Compare
tartelettie
force-pushed
the
refactor/todo-routine-flow
branch
from
August 29, 2026 10:13
3c7d519 to
23e18e9
Compare
tartelettie
force-pushed
the
refactor/notes-edit-flow
branch
from
August 29, 2026 10:13
d0ec97c to
cc619b9
Compare
tartelettie
force-pushed
the
refactor/notes-edit-flow
branch
from
August 29, 2026 10:17
cc619b9 to
d6797c2
Compare
Owner
|
todo에도 썼듯 domain |
Owner
|
나머지는 ㄱㅊ아서 위의 것만 된다면 merge 해주세요 |
refactor(client): time 흐름 분리
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
이 PR을 어떻게 봐야 하나 이 PR들은 리뷰를 쉽게 하려고 기능 단위로 쌓아 둔 PR입니다. 지금 GitHub 화면에서 #66/#69/#70은
main으로 바로 merge되는 PR이 아닙니다. 선행 PR 브랜치를 base로 둬서 리뷰어가 "이번 PR에서 추가로 바뀐 부분"만 작게 볼 수 있게 해 둔 상태입니다. 예를 들어 #66 화면에 이렇게 보이면 정상입니다.text refactor/todo-routine-flow → refactor/frontend-context-foundation이 상태에서 바로 merge하면main이 아니라refactor/frontend-context-foundation으로 들어갑니다. 그래서 실제 main merge는 아래 순서로 합니다.text #65를 main에 merge → #66 base를 main으로 바꾼 뒤 merge → #69 base를 main으로 바꾼 뒤 merge → #70 base를 main으로 바꾼 뒤 merge즉 리뷰할 때는 지금처럼 stacked PR로 작게 보고, merge할 때만 다음 PR의 base를main으로 바꿔서 순서대로 넣습니다. --- ## 왜 메모 화면 로직이Screens.tsx와useAppData.ts에 남아 있어 todo/routine 리팩토링 이후에도 기능별 책임 경계가 완전히 나뉘지 않았습니다. 리뷰 기준에 맞추려면 notes도notes/components,notes/hooks,notes/domain안에서 자기 흐름을 소유해야 합니다. 이 PR은 notes 범위만 분리합니다. 선행 todo/routine 변경과 time 변경은 섞지 않습니다. ## 무엇을 했나 -MemoScreen을client/src/notes/components/로 분리했습니다. - 메모 화면 스타일을MemoScreen.styles.ts로 분리했습니다. - 메모 상태와 handler를 제공하는 hook 이름을 React 관습에 맞춰useMemos로 정리했습니다. -MemoScreen은memoActions묶음 객체 대신memos,onAddMemo,onPatchMemo,onDeleteMemo명시적 props를 받게 했습니다. -memo.ts와 테스트를client/src/notes/domain/으로 이동했습니다. - 메모 선택 핸들러를 명명된selectMemo흐름으로 정리했습니다.window.confirm으로 처리했습니다. ## 어떻게 바뀌었나 - before:Screens.tsx가 메모 list/edit UI와 메모 handler를 직접 가졌습니다. - after: notes 화면은notes/components/MemoScreen.tsx, 메모 상태/handler 조립은notes/hooks/useMemos, 본문 파싱 규칙은notes/domain/memo.ts가 담당합니다. - 화면 컴포넌트는 필요한 props를 명시적으로 받습니다.Actions라는 넓은 이름의 객체 prop은 사용하지 않습니다. - 태그/할 일 파싱 같은 본문 기반 규칙은 domain 함수로 유지하고, 화면 코드에는 규칙을 다시 인라인하지 않았습니다. ## 유지한 내용 - 메모 생성/수정/삭제 UX - 태그 파싱, 본문 기반 todo 추출 동작 - 기존 메모 데이터 형식과 API 요청 방식 -useAppData의 workspace data, cache, loading, request helper 소유권 - todo/routine/time 동작 - 기존 저장된 메모의 옛 태그를 일괄 재계산하지 않는 정책 ## 일부러 제외한 내용 - time 화면 리팩토링 - workspace/cache/loading/request 소유권 분리 - 메모 데이터 마이그레이션 - line limit, e2e/smoke test, 새 임의 CI 정책 추가 -AGENTS.md변경 ## 검증 -cd client && npm test -- --run-cd client && npm run typecheck-cd client && npm run format:check